package me.zhengjie.business.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import me.zhengjie.business.domain.pk.Kb04NewKey;

import javax.persistence.*;
import java.math.BigDecimal;

/**
 * 照护年预留拨付表
 * @author xiahongbo
 * @description
 * @date 2022-08-17
 **/
@Entity
@Data
@Table(name="KB04_NEW")
@AllArgsConstructor
@NoArgsConstructor
@IdClass(Kb04NewKey.class)
public class KB04NEW {

    // 统筹区
    @Id
    @Column(name = "AAB034")
    private String aab034;

    // 定点编码
    @Id
    @Column(name = "服务机构代码")
    private String akb020;

    // 定点名称
    @Column(name = "服务机构名称")
    private String akb021;

    // 年度
    @Id
    @Column(name = "AAE001")
    private Long aae001;

    // 照护类别
    @Column(name = "AAE140")
    private String aae140;

    // 参保类别
    @Id
    @Column(name = "CJT100")
    private String cjt100;

    // 医疗费总额
    @Column(name = "医疗费总额")
    private BigDecimal akb065;

    // 个人帐户支付金额
    @Column(name = "个人帐户支付金额")
    private BigDecimal akb066;

    // 个人现金支付金额
    @Column(name = "个人现金支付金额")
    private BigDecimal akb067;

    // 统筹支付金额
    @Column(name = "统筹支付金额")
    private BigDecimal akb068;

    // 预留总金额
    @Column(name = "预留风险基金总额")
    private BigDecimal akb090;

    // 超支(结余)金额
    @Column(name = "年底考核扣款金额")
    private BigDecimal akb071;

    // 应支付金额总计
    @Column(name = "应支付金额总计")
    private BigDecimal akb094;

    // 年度评分
    @Column(name = "扣款原因")
    private String akb083;

    // 延迟标志
    @Column(name = "AAE015")
    private String aae015;

    // 拨付机构编码
    @Id
    @Column(name = "AAB034_BF")
    private String insuNo;

    // 拨付机构名称
    @Column(name = "AAB034_BF_NAME")
    private String inusName;

    // 拨付机构名称
    @Column(name = "中文")
    private String totle;

    // 拨付机构名称
    @Column(name = "AAB034_NAME")
    private String aab034Name;



}
